package cn.tj212.xiaoyin.core.course.domain;

import cn.tj212.xiaoyin.common.orm.BaseEntity;

import java.math.BigDecimal;

public class CourseSection extends BaseEntity {

    private static final long serialVersionUID = -7550067849667357675L;

    private Long courseId;

    private Long parentId;

    private String name;

    private Integer sort;

    /**
     * 课程时长
     */
    private String time;

    /**
     * 是否上架：0-未上架，1-已上架
     */
    private Integer onsale;

    private String videoUrl;


    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getOnsale() {
        return onsale;
    }

    public void setOnsale(Integer onsale) {
        this.onsale = onsale;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }
}
